package com.mh.system.domain.dto;

import java.io.Serializable;
import java.util.List;

//区域数据传输对象(层与层之间数据传输对象)-->响应前端的对象
public class SysAreaDTO implements Serializable {

    private static final long serialVersionUID = -391835389127797691L;

    //区域(省市)划码
    private Integer code;
    //区域(省市)名称
    private String name;
    //子区域
    private List<SysAreaDTO> children;

    //set(),get()
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<SysAreaDTO> getChildren() {
        return children;
    }

    public void setChildren(List<SysAreaDTO> children) {
        this.children = children;
    }
}
